# -*- coding: utf-8 -*-
# FileName:     gif_label.py
# time:         22/11/26 026 下午 5:07
# Author:       Zhou Hang
# Description:  I don't want to write
from PyQt5.QtGui import QMovie
from PyQt5.QtWidgets import QLabel


class GifLabel(QLabel):
    def __init__(self, gif_path):
        super(GifLabel, self).__init__()
        self.gif = QMovie(gif_path)
        self.setMovie(self.gif)
        self.gif.start()


def main():
    pass


if __name__ == "__main__":
    main()
